﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BenefitHelper.Sys
{
    /// <summary>
    /// 公司信息
    /// </summary>
    public class Company
    {
        public int Id { get; set; }

        public string CompanyName { get; set; }

        public static bool HasInited(DB.DBManager db)
        {
            bool inited = false;
            var query = db.Company.Count();
            if (query > 0)
            {
                inited = true;
            }
            return inited;
        }
    }
}
